#if !defined(AFX_DECCFG_H__B36E6A5B_3930_4173_A630_1A7043E87589__INCLUDED_)
#define AFX_DECCFG_H__B36E6A5B_3930_4173_A630_1A7043E87589__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DecCfg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDecCfg dialog

class CDecCfg : public CDialog
{
// Construction
public:
	CDecCfg(CWnd* pParent = NULL);   // standard constructor

	LONG m_lServerID;
	LONG m_lChannel;
	LONG m_lStartChan;
	NET_DVR_DECCFG Decoderinfo;
	LONG m_lSelWnd;
	LONG m_lSelDecNo;
	NET_DVR_PORTCFG TransPort;
	LONG m_lSelTrans;
// Dialog Data
	//{{AFX_DATA(CDecCfg)
	enum { IDD = IDD_DLG_DECCFG };
	CComboBox	m_ProTypeCtrl1;
	CComboBox	m_ProTypeCtrl;
	CComboBox	m_ctrl;
	CComboBox	m_ChanCtrl2;
	CComboBox	m_typeCtrl;
	CComboBox	m_ChanCtrl1;
	CComboBox	m_specnoctrl;
	CComboBox	m_ProtCtrl1;
	CComboBox	m_DVRTransCtrl;
	CComboBox	m_transctrl;
	CComboBox	m_ChanCtrl;
	CComboBox	m_TimeCtrl;
	CComboBox	m_ProtCtrl;
	CComboBox	m_NumCtrl;
	CComboBox	m_NoCtrl;
	CComboBox	m_DecNumCtrl;
	CComboBox	m_DecNoCtrl;
	BOOL	m_bChk;
	CString	m_Ip;
	int		m_Port;
	CString	m_UserName;
	CString	m_Psw;
	BOOL	m_bChkTrans;
	CString	m_UserName1;
	CString	m_Psw1;
	CString	m_Ip2;
	CString	m_Ip1;
	int		m_Port2;
	int		m_Port1;
	CString	m_filename;
	CString	m_Ip3;
	int		m_Port3;
	CTime	m_ctDateStart;
	CTime	m_ctDateStop;
	CTime	m_ctTimeStart;
	CTime	m_ctTimeStop;
	CString	m_UserName2;
	CString	m_Psw2;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDecCfg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDecCfg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnSelchangeCombodecno();
	afx_msg void OnSelchangeCombono();
	afx_msg void OnButok();
	afx_msg void OnButexit();
	afx_msg void OnButchanok();
	afx_msg void OnButdecok();
	afx_msg void OnButstartdec();
	afx_msg void OnButstopdec();
	afx_msg void OnButscreen();
	afx_msg void OnButtransok();
	afx_msg void OnButtransok2();
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnButctrldec1();
	afx_msg void OnButctrldec2();
	afx_msg void OnButctrldec3();
	afx_msg void OnButctrldec4();
	afx_msg void OnButctrl();
	afx_msg void OnButdefault();
	afx_msg void OnButstatus();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DECCFG_H__B36E6A5B_3930_4173_A630_1A7043E87589__INCLUDED_)
